<template>
  <div id="slot_cc">
    <default_slpt :createUrl="createUrl()">
      <template v-slot:default="{url}">
        Logged in as {{ user.name }}
        {{ url }}
      </template>
    </default_slpt>
  </div>
</template>
<script>
import default_slpt from './default_slot'

export default {
  name: "slot_cc",
  data() {
    return {
      user: {
        name: 'whant'
      }
    }
  },
  methods: {
    createUrl() {
      return '111222333'
    }
  },
  components: {
    default_slpt
  }
}
</script>
<style scoped>
</style>